<?php
namespace app\index\model;

use think\Model;

class Gcategory extends Model{
     public static function   cateListInfo(){
         $list=Gcategory::where('lv','=',2)->select()->toArray();
         return $list;
         }
      public static function   cateList($get){
         $res=Gcategory::where('parent_id','=',$get['id'])->select()->toArray();
         return $res;
      }
}